/**
 * Copyright (c) 2018-2099, Chill Zhuang 庄骞 (bladejava@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.pig.consolidatedReport.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;

/**
 * 收入记录表实体类
 *
 * @author Blade
 * @since 2025-06-16
 */
@Data
@TableName("p_income_records")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "收入记录表")
public class IncomeRecords extends BaseEntity {

    @Serial
	private static final long serialVersionUID = 1L;

    /**
     * 猪只类型
     */
    @Schema(description = "猪只类型")
    private String pigType;
    /**
     * 销售数量
     */
    @Schema(description = "销售数量")
    private Integer salesQuantity;
    /**
     * 均重（KG）
     */
    @Schema(description = "均重（KG）")
    private BigDecimal averageWeight;
	/**
	 * 总重（KG）
	 */
	@Schema(description = "总重(KG）")
	private BigDecimal totalWeight;
    /**
     * 收入金额（元）
     */
    @Schema(description = "收入金额（元）")
    private BigDecimal incomeAmount;    /**
	 * 收入日期
	 */
	@Schema(description = "收入日期")
	private LocalDate incomeDate;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "支付方式")
	private String payType;

	@Schema(description = "单价（kg）")
	private String price;

}
